<!DOCTYPE html>
<%@page pageEncoding="UTF-8"%>
<html>
<!-- 
  - Author(s): waffie
  - Date: 2020-08-21 15:55:35
  - Description:
-->
<head>
<title>项目管理</title>
<%@include file="/resource/template1.jsp"%>
</head>
<body class="fullBody">
	<ul class="sub-nav" id="sub-nav">
		<li class="ls" onclick="setSubNavActive(this, 'pageProjectList.jsp')"><i>所有</i></li>
		<li class="spacer">|</li>
		<li class="ls" onclick="setSubNavActive(this, 'pageForm.jsp')"><i>需求</i></li>
		<li class="ls" onclick="setSubNavActive(this, 'pageProjectList.jsp')"><i>测试</i></li>
		<li class="ls" onclick="setSubNavActive(this, 'pageProjectList.jsp')"><i>BUG</i></li>
		<li class="spacer">|</li>
		<li class="ls" onclick="setSubNavActive(this, 'pageProjectList.jsp')"><i>动态</i></li>
	</ul>
    <div class="nui-fit" style="margin:10px;overflow:hidden;">
    	<iframe id="frameContent" src="pageProjectList.jsp" frameborder="0" scrolling="no" style="width:100%;height:100%;"></iframe>
    </div>
<script type="text/javascript">
nui.parse();

// 页面加载完成后执行
$(function(){
	$("#sub-nav .ls").first().click();
});

// 导航设置
var setSubNavActive = function(obj, url) {
	if (!url) return;
	$(obj).addClass("active").siblings().removeClass("active");
	$("#frameContent").attr("src", url);
}
</script>
</body>
</html>